/**
 * Point Represents a point in a CAN system or a destination point in this
 * simulation. It has coordinates x, y and z as the can used in the system is 3
 * dimensional. This represents a location in the distributed hashtable or
 * an entry in the distributed hashtable
 * 
 * @author Praneeth Pulusani
 * 
 */
public class Point {
	// class variables
	private double x;
	private double y;
	private double z;

	/**
	 * Constructor
	 * 
	 * @param x
	 *            coordinate in x dimension
	 * @param y
	 *            coordinate in y dimension
	 * @param z
	 *            coordinate in z dimension
	 */
	public Point(double x, double y, double z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}

	/**
	 * getX
	 * 
	 * @return x coordinate
	 */
	public double getX() {
		return x;
	}

	/**
	 * getY
	 * 
	 * @return y coordinate
	 */
	public double getY() {
		return y;
	}

	/**
	 * getZ
	 * 
	 * @return z coordinate
	 */
	public double getZ() {
		return z;
	}
}
